package com.szcinda.call.repository;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Entity
public class TicketDetails implements Serializable {
    @Id
    private String ticketId;
    private String userName;
    private String site;
    private String inputGroup;  //前台组、站点组
    private String trackingNumber;
    private String problemType;
    private String callbackStatus1 = "未拨打";  // 未拨打、未接通、已接通
    private String callOneTime;   // 拨打时间
    private String oneAnswerTime; // 接通时间
    private int oneIvrTime = 0;  // 接听时长
    private String callbackStatus2 = "未拨打";  // 未拨打、未接通、已接通
    private String callTwoTime;
    private String twoAnswerTime; // 接通时间
    private int twoIvrTime = 0;  // 接听时长
    private String callbackStatus3 = "未拨打";  // 未拨打、未接通、已接通
    private String callThreeTime;
    private String threeAnswerTime; // 接通时间
    private int threeIvrTime = 0;  // 接听时长
    private String smsStatus = "未发送";     // 未发送、已发送
    private String robotStatus = "未处理";   // 未处理、处理中、已完成
    private String exception = "FALSE"; // FALSE ,TRUE, FOR_INPUT 待跟进
    private String artificialStatus = "未跟进";  // 未跟进、已跟进
    private String baseType;
    private String phoneLocation; // 号码归属地
    private String baseCallNumber;
    private String baseTrackingNumber;
    private LocalDateTime baseCallTime;
    private String baseReceivingAddress;
    private String problemInfoType;
    private String problemInfoDescribe;
    private String remark;
    private LocalDateTime addDatabaseTime = LocalDateTime.now();
}
